package com.ZeroCarbon.service;

import com.ZeroCarbon.domain.dto.CommentDTO;
import com.ZeroCarbon.domain.po.Comment;
import com.ZeroCarbon.exception.BusinessLogicException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ICommentService extends IService<Comment> {
    void postComment(Comment comment) throws BusinessLogicException;

    List<CommentDTO> getComments(String id) throws BusinessLogicException;

    int thumbsUpComment(String id) throws BusinessLogicException;

    Boolean isUserLikeShopComment(String id) throws BusinessLogicException;

    void deleteComment(String id) throws BusinessLogicException;
}
